.base-dialog {
  width: 100%;
  height: 100%;

  &.readonly {

    .el-dialog__body{
      height: calc(100% - 72px) !important;
    }
  }
  
  .el-dialog {
    transform: none;
    position: relative;
    left: 0;
    
    &.panna-dialog_small{
      width: 640px;
      height: 426px;
      // 优化dialog样式
      margin: 10vh auto !important;
    }
  
    &.panna-dialog_medium{
      width: 840px;
      height: 606px;
      margin-top: -303px !important;
      top: 50%;
    }
  
    &.panna-dialog_big{
      width: 1180px;
      height: 736px;
      margin-top: -368px !important;
      top: 50%;
    }
  
    &.panna-dialog_full{
      width: 100%;
      height: 100%;
      margin: 0 !important;
    }
  }


  .el-table {
    margin-top: 18px;
    height: calc(100% - 170px);
  }
  .el-table__header {
    th {
      background: #f1f8ff;
    }
  }
  .el-dialog__header {
    font-size: 20px;
    font-weight: 400;
    color: #232638;
    text-align: center;
    border-bottom: 1px #ebeef5 solid;
    padding: 25px 0 16px;//上边距25 左右0 下16px
  }
  .el-dialog__body {
    height: calc(100% - 72px - 64px);
    padding: 26px 20px ;
    position: relative;
    overflow: auto;
  }
  .el-dialog__footer  {
    width: 100%;
    padding: 16px 0 !important;
    background-color: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    &:first-child button {
      margin-left: 30px;
    }
    .el-button {
      width: 70px;
    }
  }
}